package com.coder.rental;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * springboot启动类
 */
@SpringBootApplication
@MapperScan("com.coder.rental.mapper") // mapper类上没有注解，因此启动类要加这个注解
public class AppServer {

    public static void main(String[] args) {
        SpringApplication.run(AppServer.class);
    }
}
